<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <title>parseFloat转换</title>
    <script>
        console.log(parseFloat("123.45"));
        console.log(parseFloat("123.45powernode"));
        console.log(parseFloat("123.45powernode456"));
        console.log(parseFloat(" 123.45 "));
    </script>
</head>

<body>
</body>